package xyz.zhzby.cyzx.acl.mapper;

import xyz.zhzby.cyzx.acl.entity.Permission;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * 权限表 Mapper 接口
 * </p>
 *
 * @author zby
 * @since 2021-12-07
 */
public interface PermissionMapper extends BaseMapper<Permission> {

    List<String> selectPermissionValueByUserId(Long id);

    List<String> selectAllPermissionValue();

    List<Permission> selectPermissionByUserId(Long userId);

}
